import http from '@/utils/http'


// 获取所有推送策略
export function getAllstrategy() {
  return http.get('/strategy/getAll')
}

// 获取策略详情
export function getStrategyDetail(params) {
    return http({
        url: '/strategy/getDetail',
        method: 'get',
        params
    });
}